

/**
 * 事件绑定
 */


//事件参数param
const handleClick = (param)=>{
  console.log("button被点击了",param)
}

const handleClickParam = (name)=>{
  console.log("参数为=>",name)
}


function App() {
  return (
    <div className="App">
     
      <button onClick={handleClick}>click me</button>

    </div>
  );
}

export default App;
